aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhalcy <halcy@ARARAGI-KUN>2022-11-13 16:16:29 +0200
committerhalcy <halcy@ARARAGI-KUN>2022-11-13 16:16:29 +0200
commit0e00fced99976d74e972a3c9ca5b762697840a33 (patch)
tree632f7e06d3e7d81e15f78d8821d39acf59b8301c /tests/cassettes/test_status_post[None-None].yaml
parentc66015a6b0655f865c45587095ca8744a9d61534 (diff)
downloadmastodon.py-0e00fced99976d74e972a3c9ca5b762697840a33.tar.gz
fix tests
Diffstat (limited to 'tests/cassettes/test_status_post[None-None].yaml')
-rw-r--r--tests/cassettes/test_status_post[None-None].yaml32
1 files changed, 16 insertions, 16 deletions
diff --git a/tests/cassettes/test_status_post[None-None].yaml b/tests/cassettes/test_status_post[None-None].yaml
index 198b9c1..41ed90d 100644
--- a/tests/cassettes/test_status_post[None-None].yaml
+++ b/tests/cassettes/test_status_post[None-None].yaml
@@ -20,17 +20,17 @@ interactions:
20 uri: http://localhost:3000/api/v1/statuses 20 uri: http://localhost:3000/api/v1/statuses
21 response: 21 response:
22 body: 22 body:
23 string: '{"id":"109336680540234820","created_at":"2022-11-13T13:15:45.158Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109336680540234820","url":"http://localhost:3000/@mastodonpy_test/109336680540234820","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py 23 string: '{"id":"109336907861742477","created_at":"2022-11-13T14:13:33.809Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109336907861742477","url":"http://localhost:3000/@mastodonpy_test/109336907861742477","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
24 test suite","website":null},"account":{"id":"109336623311102204","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 24 test suite","website":null},"account":{"id":"109336899193569236","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
25 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI 25 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI
26 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/336/623/311/102/204/original/8f758332953652da.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/336/623/311/102/204/original/8f758332953652da.jpg","header":"http://localhost:3000/system/accounts/headers/109/336/623/311/102/204/original/c7470bf076df1e55.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/336/623/311/102/204/original/c7470bf076df1e55.jpg","followers_count":0,"following_count":0,"statuses_count":7,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' 26 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/336/899/193/569/236/original/e639fe005819e5b9.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/336/899/193/569/236/original/e639fe005819e5b9.jpg","header":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.jpg","followers_count":0,"following_count":0,"statuses_count":7,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'
27 headers: 27 headers:
28 Cache-Control: 28 Cache-Control:
29 - no-store 29 - no-store
30 Content-Security-Policy: 30 Content-Security-Policy:
31 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 31 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
32 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 32 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
33 style-src ''self'' http://localhost:3000 ''nonce-LNgrvOaEgLjCvCKYBHgWPQ==''; 33 style-src ''self'' http://localhost:3000 ''nonce-0MaEoapCr8kvBSQ4CGIEjg=='';
34 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 34 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
35 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 35 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
36 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 36 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -40,7 +40,7 @@ interactions:
40 Content-Type: 40 Content-Type:
41 - application/json; charset=utf-8 41 - application/json; charset=utf-8
42 ETag: 42 ETag:
43 - W/"98c4ff62d15d66ae6357460667211f84" 43 - W/"f09c4e1b50f95b04c1751982e3c0e164"
44 Referrer-Policy: 44 Referrer-Policy:
45 - strict-origin-when-cross-origin 45 - strict-origin-when-cross-origin
46 Transfer-Encoding: 46 Transfer-Encoding:
@@ -60,11 +60,11 @@ interactions:
60 X-RateLimit-Remaining: 60 X-RateLimit-Remaining:
61 - '214' 61 - '214'
62 X-RateLimit-Reset: 62 X-RateLimit-Reset:
63 - '2022-11-13T15:00:00.178850Z' 63 - '2022-11-13T15:00:00.829260Z'
64 X-Request-Id: 64 X-Request-Id:
65 - f6b8a35b-dc06-4493-809e-689e0676c30e 65 - af70376b-179d-4a6b-a9b3-e59cb485af15
66 X-Runtime: 66 X-Runtime:
67 - '0.033976' 67 - '0.032318'
68 X-XSS-Protection: 68 X-XSS-Protection:
69 - 1; mode=block 69 - 1; mode=block
70 status: 70 status:
@@ -86,20 +86,20 @@ interactions:
86 User-Agent: 86 User-Agent:
87 - tests/v311 87 - tests/v311
88 method: DELETE 88 method: DELETE
89 uri: http://localhost:3000/api/v1/statuses/109336680540234820 89 uri: http://localhost:3000/api/v1/statuses/109336907861742477
90 response: 90 response:
91 body: 91 body:
92 string: '{"id":"109336680540234820","created_at":"2022-11-13T13:15:45.158Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109336680540234820","url":"http://localhost:3000/@mastodonpy_test/109336680540234820","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"Toot!","filtered":[],"reblog":null,"application":{"name":"Mastodon.py 92 string: '{"id":"109336907861742477","created_at":"2022-11-13T14:13:33.809Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109336907861742477","url":"http://localhost:3000/@mastodonpy_test/109336907861742477","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"Toot!","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
93 test suite","website":null},"account":{"id":"109336623311102204","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 93 test suite","website":null},"account":{"id":"109336899193569236","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
94 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI 94 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI
95 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/336/623/311/102/204/original/8f758332953652da.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/336/623/311/102/204/original/8f758332953652da.jpg","header":"http://localhost:3000/system/accounts/headers/109/336/623/311/102/204/original/c7470bf076df1e55.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/336/623/311/102/204/original/c7470bf076df1e55.jpg","followers_count":0,"following_count":0,"statuses_count":6,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' 95 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/336/899/193/569/236/original/e639fe005819e5b9.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/336/899/193/569/236/original/e639fe005819e5b9.jpg","header":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.jpg","followers_count":0,"following_count":0,"statuses_count":6,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'
96 headers: 96 headers:
97 Cache-Control: 97 Cache-Control:
98 - no-store 98 - no-store
99 Content-Security-Policy: 99 Content-Security-Policy:
100 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 100 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
101 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 101 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
102 style-src ''self'' http://localhost:3000 ''nonce-wRvDp2BzWnsTknrSCCGAoA==''; 102 style-src ''self'' http://localhost:3000 ''nonce-uvnjIGvFTYBMZ46yaxYZ2w=='';
103 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 103 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
104 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 104 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
105 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 105 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -109,7 +109,7 @@ interactions:
109 Content-Type: 109 Content-Type:
110 - application/json; charset=utf-8 110 - application/json; charset=utf-8
111 ETag: 111 ETag:
112 - W/"f094fef9d83964ef60412fbf178a0a03" 112 - W/"a5b9e569a490685ad20e45b531aa5b76"
113 Referrer-Policy: 113 Referrer-Policy:
114 - strict-origin-when-cross-origin 114 - strict-origin-when-cross-origin
115 Transfer-Encoding: 115 Transfer-Encoding:
@@ -125,9 +125,9 @@ interactions:
125 X-Permitted-Cross-Domain-Policies: 125 X-Permitted-Cross-Domain-Policies:
126 - none 126 - none
127 X-Request-Id: 127 X-Request-Id:
128 - 0e0a6b97-9ec9-415c-baf0-717e77c5ec69 128 - e40a81ad-6a69-4d42-af98-7140ec09711e
129 X-Runtime: 129 X-Runtime:
130 - '0.024175' 130 - '0.023477'
131 X-XSS-Protection: 131 X-XSS-Protection:
132 - 1; mode=block 132 - 1; mode=block
133 status: 133 status:
Powered by cgit v1.2.3 (git 2.41.0)